package com.chacha.framework.common.models;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@SuppressWarnings("serial")
public class AreaObject implements Serializable {

	private int idArea;
	private String aliasArea;
	private String nameArea;
	private AreaTypeObject typeArea;
	private List<AreaObject> childArea;
	private int idAreaParent;

	public AreaObject() {
		this.idArea = 0;
		this.aliasArea = "";
		this.nameArea = "";
		this.childArea = new ArrayList<AreaObject>();
		this.typeArea = new AreaTypeObject();
		this.idAreaParent = 0;
	}

	public int getIdArea() {
		return idArea;
	}

	public void setIdArea(int idArea) {
		this.idArea = idArea;
	}

	public String getAliasArea() {
		return aliasArea;
	}

	public void setAliasArea(String aliasArea) {
		this.aliasArea = aliasArea;
	}

	public String getNameArea() {
		return nameArea;
	}

	public void setNameArea(String nameArea) {
		this.nameArea = nameArea;
	}

	public List<AreaObject> getChildArea() {
		return childArea;
	}

	public void setChildArea(List<AreaObject> childArea) {
		this.childArea = childArea;
	}

	public AreaTypeObject getTypeArea() {
		return typeArea;
	}

	public void setTypeArea(AreaTypeObject typeArea) {
		this.typeArea = typeArea;
	}

	public int getIdAreaParent() {
		return idAreaParent;
	}

	public void setIdAreaParent(int idAreaParent) {
		this.idAreaParent = idAreaParent;
	}

	@Override
	public String toString() {
		return "AreaObject [idArea=" + idArea + ", aliasArea=" + aliasArea
				+ ", nameArea=" + nameArea + ", typeArea=" + typeArea
				+ ", childArea=" + childArea + ", idAreaParent=" + idAreaParent
				+ "]";
	}
}
